package API.String.StringBuilderDemo;

import java.util.Scanner;

public class ReverseExample {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String st = sc.next();
        StringBuilder sb = new StringBuilder(st);
        sb.reverse();
        if (sb.toString().equals(st))
            System.out.println(sb + "是回文字符串");
        else
            System.out.println(sb + "不是回文字符串");
    }
}
